package com.cmwa.solution.business.product.dao;


import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.cmwa.solution.annotation.MybatisDao;
import com.cmwa.solution.base.entity.SearchParam;
import com.cmwa.solution.business.product.entity.TreNavBizVo;

@MybatisDao
public interface TreNavBizDao {

	/**
	 * 通过产品编码获取净值信息
	 * @return
	 */
	List<Map<String,Object>> navBizInfoByCode(@Param("subPrdCode") String subPrdCode,@Param("limit")String limit);

	public TreNavBizVo findNavBizData(@Param("subPrdCode") String subPrdCode);

	List<TreNavBizVo> treNavListPage(SearchParam sp);

	/**
	 * 新增
	 * @param treNavBizVo
	 */
	void insertTreNav(TreNavBizVo treNavBizVo);
	
	/**
	 * 修改
	 * @param treNavBizVo
	 */
	void updateTreNav(TreNavBizVo treNavBizVo);
	
	/**
	 * 删除
	 * @param navBizId
	 */
	void delTreNav(@Param("navBizId") String navBizId);
	
	/**
	 * 详情
	 * @param navBizId
	 * @return
	 */
	public TreNavBizVo treNavDetail(@Param("navBizId") String navBizId);

	/**
	 * 获取数量
	 * @param subPrdCode
	 * @param assessmentDate
	 * @return
	 */
	int getCount(@Param("navBizId")String navBizId,@Param("subPrdCode")String subPrdCode, @Param("assessmentDate")String assessmentDate);
	
}
